import request from '@/utils/request'

export function addAppointment(data) {
    return request({
      url: '/appointment/add',
      method: 'post',
      data: data
    })
  }

  export function getAppointmentPage(data) {
    return request({
      url: '/appointment/page',
      method: 'post',
      data: data
    })
  }
  export function updateAppointment(data) {
      return request({
        url: '/appointment/update',
        method: 'post',
        data: data
      })
    }